package com.dongnam.quanly.common;

public enum ScreenId {
	INDEX("index"), CHANGEPASSWORD("changePassword"), PRIVILEGE_USER("privilege/users"), REPORT("report/reports"), SMSTEMPLATE(
			"sms/smstemplates"), BLACKLIST("blacklist/blacklistOperators");

	public String id;

	private ScreenId(String id) {
		this.id = id;
	}

	public static ScreenId getEnum(String id) {
		for (ScreenId option : ScreenId.values()) {
			if (option.id.equals(id)) {
				return option;
			}
		}
		return null;
	}
}
